#pragma once
#include "Texture2D.h"
#include "Engine/AuxTypesDX10.h"

class CTexture2DDX10: public CTexture2D
{
private:
    ID3D10Texture2D          *m_pTexture;
    ID3D10ShaderResourceView *m_pTextureSRV;

public:
    virtual mBool CreateFromFile         ( mString a_sFileName );
    virtual mBool Create                 ( mUInt a_uWidth, mUInt a_uHeight, TImageFormat a_ImageFmt );
    ID3D10ShaderResourceView *TextureSRV ( );//for Shader
    ID3D10Texture2D          *Texture    ( );//for RenderTargetView
    ~CTexture2DDX10                      ( );
};